package com.lang.dao;

import com.lang.entity.Page;
import com.lang.entity.Product;

import java.util.List;

/*
 * @Date : 2024/3/13 9:43
 * @Created by Lang
 * @ProjectName : LclShop
 */
public interface ProductDao {
    List<Product> getProductByType(String tId);

    long getTotal(String tid);

    List<Product> selectByPage(String tid, int startIndex, int pageSize);

    Product getProductById(String pid);
}
